﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="AjaxBasedPopUpControl.ascx.cs"
    Inherits="CostaRicaPureTravel.UserControls.AjaxBasedPopUpControl" %>
<%@ Register TagPrefix="ajaxToolkit" Namespace="AjaxControlToolkit" Assembly="AjaxControlToolkit" %>
<asp:HiddenField ID="TriggerField" runat="server" Value="Setter" />
<ajaxToolkit:ModalPopupExtender ID="mpeMessagePopup" runat="server" PopupControlID="pnlMessageBox"
    TargetControlID="TriggerField"  BackgroundCssClass="MessageBoxPopupBackground">
</ajaxToolkit:ModalPopupExtender>
<asp:Panel runat="server" ID="pnlMessageBox" BackColor="White" Width="420" Style="display: none;
    border: 2px solid rgb(4, 88, 45);">
    <div class="popupHeader" style="width: 420px;">
        <asp:Label ID="lblMessagePopupHeading" Text="Information" runat="server"></asp:Label>
    </div>
    <div style="max-height: 500px; width: 420px; overflow: hidden;">
        <div style="float: left; width: 380px; margin: 20px;">
            <table style="padding: 0; border-spacing: 0; border-collapse: collapse; width: 100%;">
                <tr>
                    <td style="text-align: left; vertical-align: top; width: 11%;">
                        <asp:Literal runat="server" ID="ltrMessagePopupImage"></asp:Literal>
                    </td>
                    <td style="width: 2%;">
                    </td>
                    <td style="text-align: left; vertical-align: top; width: 87%;">
                        <p style="margin: 0px; padding: 0px;">
                            <asp:Label runat="server" ID="lblMessagePopupText"></asp:Label>
                        </p>
                    </td>
                </tr>
                <tr>
                    <td style="text-align: right; vertical-align: top;" colspan="3">
                        <div style="margin-right: 0px; float: right; width: auto;">
                            <asp:Button ID="btnOkButton" runat="server" OnClick="OnEvent" Text="Ok" CssClass="popup_button" />
                        </div>
                    </td>
                </tr>
            </table>
        </div>
    </div>
</asp:Panel>
